package by.bsu.fami.greyscalecodelibrary.android;

import android.annotation.TargetApi;
import android.graphics.Bitmap;
import by.bsu.fami.greyscalecodelibrary.NotFoundException;
import by.bsu.fami.greyscalecodelibrary.ReaderException;
import by.bsu.fami.greyscalecodelibrary.GreysacleCodeLibrary.DecodeResult;

@TargetApi(8)
public final class GCLibAndroid8 {
	private GCLibAndroid8(){}; 
	
	public native static DecodeResult decode(Bitmap image)
			throws ReaderException, NotFoundException;
	
	static {
		System.loadLibrary("greyscalecode");
	}
}
